package com.example.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.system.entity.Patient;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 王鹤蒲
 * @since 2024-01-22
 */
@Mapper
public interface PatientMapper extends BaseMapper<Patient> {

    public Page<Patient> findByPage(Page<Patient> page,String patientName);

    public String selectEmailByPatientId(Integer patientId);

    public List<Patient> queryOnlineInquiryPatientNameList(String receiver);
}
